package com.mall.mymall.dao.entity;

import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author 十里坡
 * @since 2025-03-14
 */
public class UserBehavior implements Serializable {

    private static final long serialVersionUID = 1L;

      @TableId(value = "behavior_id", type = IdType.AUTO)
    private Integer behaviorId;

    private Integer userId;

    private Integer productId;

    private String behaviorType;

    private BigDecimal behaviorValue;

    private LocalDateTime createdAt;


    public Integer getBehaviorId() {
        return behaviorId;
    }

    public void setBehaviorId(Integer behaviorId) {
        this.behaviorId = behaviorId;
    }

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public Integer getProductId() {
        return productId;
    }

    public void setProductId(Integer productId) {
        this.productId = productId;
    }

    public String getBehaviorType() {
        return behaviorType;
    }

    public void setBehaviorType(String behaviorType) {
        this.behaviorType = behaviorType;
    }

    public BigDecimal getBehaviorValue() {
        return behaviorValue;
    }

    public void setBehaviorValue(BigDecimal behaviorValue) {
        this.behaviorValue = behaviorValue;
    }

    public LocalDateTime getCreatedAt() {
        return createdAt;
    }

    public void setCreatedAt(LocalDateTime createdAt) {
        this.createdAt = createdAt;
    }

    @Override
    public String toString() {
        return "UserBehavior{" +
        "behaviorId=" + behaviorId +
        ", userId=" + userId +
        ", productId=" + productId +
        ", behaviorType=" + behaviorType +
        ", behaviorValue=" + behaviorValue +
        ", createdAt=" + createdAt +
        "}";
    }
}
